package com.tuniu.agents.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Chat Record Query Parameters DTO
 * Used to receive query conditions passed from the frontend
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatRecordQueryDTO {
    /**
     * Conversation ID
     */
    private String conversationId;
    /**
     * User ID
     */
    private String userId;
    /**
     * Main response ID
     */
    private String questionId;
    /**
     * Message type
     */
    private Integer messageType;

    /**
     * Pagination page number
     */
    private Integer page = 0;
    /**
     * Pagination size
     */
    private Integer pageSize = 6;
    /**
     * Whether to fetch all data
     */
    private Boolean fetchAll = true;
}